package week3;
import java.math.BigDecimal;
/**
 * Created by dell on 2017/3/9.
 */
public class Compare {
    public static void main(String[] args) {
        BigDecimal a = new BigDecimal("1");
        BigDecimal b = new BigDecimal("1");
        System.out.println(a == b);
        System.out.println(a.equals(b));
    }
}
